
public class ScoreCalc {
	double java;
	double csharp;
	double db;
	
	public double calcSum(){
		return java+csharp+db;
	}
	
	public void showSum(){
		System.out.println(calcSum());
	}
	
	public double calcAvg(){
		return calcSum()/3;
	}
	
	public void showAvg(){
		System.out.println(calcAvg());
	}
}















